<template>
  <div class="item-content" style="height: 270px; display: flex">
    <ht-table
      ref="dataTable"
      :showSerialNumber="false"
      :multi-select="false"
      :dictMap="dictMap"
      :reqConfig="reqConfig"
      :queryParams="queryParams"
      :tableBindColumns="tableBindColumns"
      :opButtonList="opButtonList"
      :showRightToolbar="false"
      sortType="close"
      :showPagination="false"
    >
      <template v-slot:id="slotProps">
        <router-link to="/bizMng/internalQueue1/internalQueue2">
          {{ slotProps.row.id }}
        </router-link>
      </template>
<!--      <template v-slot:operate>-->
<!--        <el-table-column label="操作" align="center" width="120" fixed="right" class-name="small-padding fixed-width">-->
<!--          <template slot-scope="scope">-->
<!--            <ht-button-group-->
<!--              :buttonList="[-->
<!--                {-->
<!--                  label: '明细',-->
<!--                  // permission: 'user:xxx:xxx',-->
<!--                  doFunc: () => {-->
<!--                    handleAction('detials', scope.row);-->
<!--                  },-->
<!--                },-->
<!--              ]"-->
<!--            />-->
<!--          </template>-->
<!--        </el-table-column>-->
<!--      </template>-->
    </ht-table>
  </div>
</template>
<script>
import { detail, queryApiUrlConfig } from "@/api/cnaps/bizMng/internalQueue.js";
import { listPageMixin } from "@/libs/listPageMixin";
import { log } from "util";
import { amountThousandsFormatter } from "@/utils/table_col_formatter";
export default {
  name: "csTxnQueue",
  mixins: [listPageMixin],
  data() {
    return {
      reqConfig: queryApiUrlConfig,
      //数据字典
      searchFormDictList: ["POSITION_OPTYPE", "PLUSMINUSTYPECODE"],
      //  明细弹框数据
      // form表单字段
      formData: {},
      showSearch: true,
      // 查询参数
      queryParams: {
        coreId: "",
        sysCode: "BEPS",
      },
      formOptions: [],
      opButtonList: () => {
        return [];
      },
      tableBindColumns: [
        { label: `队列流水号`, prop: "id", sortable: false,customSlot: true, },
        // { label: `交易流水号`, prop: "coreId", sortable: false },
        // {
        //   label: `金额`,
        //   prop: "amount",
        //   type: "price",
        //   sortable: false,
        // },
        {
          label: `入队时间`,
          prop: "inTime",
          sortable: false,
          type: "date",
        },
      ],
    };
  },
  mounted() {},
  methods: {},
};
</script>
